//    Copyright (C) Kherty.  All rights reserved.
using System;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using OpenLS.Spreadsheet.Parsing;

namespace OpenLS.Spreadsheet.Expressions
{
    class UnqualifiedNameExpression: NotQualifiedExpression
    {
        private readonly string _name;

        public UnqualifiedNameExpression(string name)
        {
            Contract.Requires(name != null);
            _name = name;
        }

        public string Name
        {
            get { return _name; }
        }

        public override Expression QualifiedExpression(RangeFactory factory)
        {
            throw new NotImplementedException();
        }
    }
}